(longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show option --socket-name.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 6 Nov 2006 12:37:46 +0000 (12:37 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 6 Nov 2006 12:37:46 +0000 (12:37 +0000)
commit3c33b9323cbf91e19475a1a1376cc7359f81717e
tree5b39f0402feac3ec22e83c22a36cb7951e147231
parenta64e4b10654186f7e52f212976736942e9277e71
(longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show option --socket-name.
(decode_options): Don't get EMACS_SERVER_FILE here, it could override command
line options.
(decode_options) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
(fail): Don't check for missing arguments, it is now done in set_socket.
(file_name_absolute_p): New function (loosely based on the one in fileio.c).
(initialize_sockets): Don't check for duplicate loading of Winsock.
(get_server_config): Only try relative paths in the default directory locations.
(set_tcp_socket): Don't call INITIALIZE().  Warn when connecting to a remote
server.
(set_socket): Call INITIALIZE().  Search explicit command-line arguments, then
environment variable EMACS_SERVER_FILE, then implicit socket paths, before
trying the alternate editor.
(main): Use file_name_absolute_p.
lib-src/emacsclient.c